package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the HIS_HOSPITALPRESCRIPTION database table.
 * 
 */
@Entity
@Table(name="HIS_HOSPITALPRESCRIPTION")
@NamedQuery(name="HisHospitalprescription.findAll", query="SELECT h FROM HisHospitalprescription h")
public class HisHospitalprescription implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ZYCF_NO")
	@SequenceGenerator(sequenceName="zycfno", name="zycfno",initialValue=1, allocationSize=1)
	@GeneratedValue(generator = "zycfno")
	private long zycfNo;

	@Column(name="BR_NO")
	private BigDecimal brNo;

	@Column(name="ZYCF_DOCTOR")
	private String zycfDoctor;

	@Column(name="ZYCF_STATE")
	private String zycfState;

	@Column(name="ZYYS_NO")
	private BigDecimal zyysNo;

	public HisHospitalprescription() {
	}

	public long getZycfNo() {
		return this.zycfNo;
	}

	public void setZycfNo(long zycfNo) {
		this.zycfNo = zycfNo;
	}

	public BigDecimal getBrNo() {
		return this.brNo;
	}

	public void setBrNo(BigDecimal brNo) {
		this.brNo = brNo;
	}

	public String getZycfDoctor() {
		return this.zycfDoctor;
	}

	public void setZycfDoctor(String zycfDoctor) {
		this.zycfDoctor = zycfDoctor;
	}

	public String getZycfState() {
		return this.zycfState;
	}

	public void setZycfState(String zycfState) {
		this.zycfState = zycfState;
	}

	public BigDecimal getZyysNo() {
		return this.zyysNo;
	}

	public void setZyysNo(BigDecimal zyysNo) {
		this.zyysNo = zyysNo;
	}

}